package com.myway.pojo;

import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

@ToString
public class FlyOrderPayment extends FlyOrderPaymentKey implements Serializable {
    private Long paymentId;

    private BigDecimal amount;

    public FlyOrderPayment(Long orderNo, Long id, Long paymentId, BigDecimal amount) {
        super(orderNo, id);
        this.paymentId = paymentId;
        this.amount = amount;
    }

    public FlyOrderPayment() {
        super();
    }

    public Long getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(Long paymentId) {
        this.paymentId = paymentId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
}